Search for projects that the caller has both resourcemanager.projects.get permission on, and also satisfy the specified query. This method returns projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method.
External DocumentationTo learn more, visit the GCP documentation.

Basic Parameters

ParameterDescription
QueryA query string to search for available projects.

This parameter supports searching:
- display name
- parent organization/folder
- project ID
- state
- labels
- * (wildcard)

Examples:
- name:my-project* - name starts with “my-project”.
- labels.env:production - has label “env” with value “production”.
- state:ACTIVE - active projects only.
Return All PagesAutomatically fetch all resources, page by page.

Advanced Parameters

ParameterDescription
Page SizeOptional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.

Example Output

{
	"results": [
		{
			"createTime": "2021-12-24T05:33:39",
			"displayName": "<string>",
			"etag": "<string>",
			"name": "<string>",
			"parent": "<string>",
			"projectId": "<string>",
			"state": "<string>"
		}
	]
}

Workflow Library Example

Search Projects with Gcp and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop