Skip to content

Commit e9359a0

Browse files
author
Ajay Kannan
committed
fix paging docs
1 parent 57de95a commit e9359a0

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/ResourceManager.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,19 @@ public static ProjectListOption filter(String filter) {
136136
* Returns an option to specify a page token.
137137
*
138138
* The page token (returned from a previous call to list) indicates from where listing should
139-
* continue. Pagination is not yet supported; the server ignores this field.
139+
* continue.
140140
*/
141141
public static ProjectListOption pageToken(String pageToken) {
142142
return new ProjectListOption(ResourceManagerRpc.Option.PAGE_TOKEN, pageToken);
143143
}
144144

145145
/**
146-
* The maximum number of projects to return in the response.
146+
* The maximum number of projects to return per RPC.
147147
*
148-
* The server can return fewer projects than requested. If unspecified, server picks an
149-
* appropriate default. Note: pagination is not yet supported; the server ignores this field.
148+
* The server can return fewer projects than requested. When there are more results than the
149+
* page size, the server will return a page token that can be used to fetch other results.
150+
* Note: pagination is not yet supported; the server currently ignores this field and returns
151+
* all results.
150152
*/
151153
public static ProjectListOption pageSize(int pageSize) {
152154
return new ProjectListOption(ResourceManagerRpc.Option.PAGE_SIZE, pageSize);

0 commit comments

Comments
 (0)