Googleapis Orgpolicy
Connector for the googleapis-orgpolicy API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://orgpolicy.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
orgpolicy_projects_policies_get— GET /v2/{name} — Gets a policy on a resource. If no policy is set on the resource,NOT_FOUNDisorgpolicy_projects_policies_geteffectivepolicy— GET /v2/{name}:getEffectivePolicy — Gets the effective policy on a resource. This is the result of merging policiesorgpolicy_projects_constraints_list— GET /v2/{parent}/constraints — Lists constraints that could be applied on the specified resource.orgpolicy_organizations_customconstraints_list— GET /v2/{parent}/customConstraints — Retrieves all of the custom constraints that exist on a particular organizationorgpolicy_projects_policies_list— GET /v2/{parent}/policies — Retrieves all of the policies that exist on a particular resource.orgpolicy_projects_policies_delete— DELETE /v2/{name} — Deletes a policy. Returns agoogle.rpc.Statuswithgoogle.rpc.Code.NOT_FOUND
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: orgpolicy_projects_policies_get
# (attach an 'oauth' credential to the task — no inline secrets)