Skip to content

Standardize "maxResults"/"pageSize" option terminology #740

Closed
@ajkannan

Description

@ajkannan

We use "pageSize" in Resource Manager and "maxResults" in Storage and BigQuery to mean "max results per page". We should standardize our terminology. I slightly prefer the term "pageSize" because a user could want some total number of results that's greater than what the service allows as the pageSize. As a result, the user might set a "maxResults" field, get less results than they asked for, and perhaps assume (without checking the page token) that they got all the results that existed, even if there is another page of results.

We should standardize the javadoc to include that it's "the maximum number of results returned per page."

Metadata

Metadata

Assignees

Labels

type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions