List Services

service_usage.list_services
ActionGoogle Cloudconnection required

Calls Service Usage GET /v1/{v1Id}/{v1Id1}/services.

List all services available to the specified project, and the current state of those services with respect to the project.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Service Usage
Secret shape
{"client_id", "client_secret", "refresh_token"}
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
scope_type
Scope kind for the search.
stringNoprojectsone of "projects", "folders", "organizations"—
scope_id
Id of the scope to act on, from its Service Usage URL or console — not its name.
stringYes———
filter
Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state
stringNo———
page_size
Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page s
numberNo50≥ 1—
page_token
Token identifying which result to start with, which is returned by a previous list call.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page_size": 50,
  "scope_type": "projects"
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
services
array—
nextPageToken
string—
{
  "nextPageToken": "",
  "ok": false,
  "services": []
}

Related Google Service Usage nodes

See List Services run in a workflow.

In a technical demo we add the Google Service Usage connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.