v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13203076.0 KB
projects

Deprecated: Looks up assignments for a specified resource for a particular region. If the request is about a project: 1. Assignments created on the project will be returned if they exist. 2. Otherwise assignments created on the closest ancestor will be returned. 3. Assignments for different JobTypes will all be returned. The same logic applies if the request is about a folder. If the request is about an organization, then assignments created on the organization will be returned (organization doesn't have ancestors). Comparing to ListAssignments, there are some behavior differences: 1. permission on the assignee will be verified in this API. 2. Hierarchy lookup (project->folder->organization) happens in this API. 3. Parent here is projects/*/locations/*, instead of projects/*/locations/*reservations/*. Note "-" cannot be used for projects nor locations.

get/v1/{+parent}:searchAssignments

Path parameters

parentstring required

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US.

Query parameters

pageSizeinteger

The maximum number of items to return per page.

pageTokenstring

The next_page_token value returned from a previous List request, if any.

querystring

Please specify resource name as assignee in the query. Examples: * assignee=projects/myproject * assignee=folders/123 * assignee=organizations/456

Response

Successful response

All 20 operations