Get Users

GET {{baseUrl}}/:project/global/users?filter=<>&maxResults=<>&orderBy=<>&pageToken=<>

Retrieves a list of users contained within the specified project.

Request Params

KeyDatatypeRequiredDescription
filterstringSets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by | | maxResults | string | | The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. | | orderBy | string | | Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp de | | pageToken | string | | Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. |