Get Service
service_usage.get_service
ActionGoogle Cloudconnection required
Calls Service Usage GET /v1/{v1Id}/{v1Id1}/services/{servicesId}.
Returns the service configuration and enabled state for a given service.
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
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
scope_type Scope kind for the search. | string | No | projects | one of "projects", "folders", "organizations" | — |
scope_id Id of the scope to act on, from its Service Usage URL or console — not its name. | string | Yes | — | — | — |
service Id of the service to act on, from service_usage.list_services — not its name. | string | Yes | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"scope_type": "projects"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
name | string | — |
parent | string | — |
config | object | — |
state | string | — |
{
"config": {},
"name": "",
"ok": false,
"parent": "",
"state": ""
}Related Google Service Usage nodes
See Get Service 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.