- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists all tenants associated with the project.
HTTP request
GET https://jobs.googleapis.com/v4/{parent=projects/*}/tenants
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name of the project under which the tenant is created. The format is "projects/{projectId}", for example, "projects/foo". |
Query parameters
Parameters | |
---|---|
pageToken |
The starting indicator from which to return results. |
pageSize |
The maximum number of tenants to be returned, at most 100. Default is 100 if a non-positive number is provided. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
The List tenants response object.
JSON representation |
---|
{ "tenants": [ { object ( |
Fields | |
---|---|
tenants[] |
Tenants for the current client. |
nextPageToken |
A token to retrieve the next page of results. |
metadata |
Additional information for the API invocation, such as the request tracking id. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/jobs
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.