Google Cloud Platform · Schema
GoogleCloudOrgpolicyV2ListCustomConstraintsResponse
The response returned from the ListCustomConstraints method. It will be empty if no custom or managed constraints are set on the organization resource.
API ManagementCloud ComputingInfrastructurePlatform-as-a-ServiceA2A
Properties
| Name | Type | Description |
|---|---|---|
| customConstraints | array | All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set. |
| nextPageToken | string | Page token used to retrieve the next page. This is not used, but the server may at any point start supplying a valid token. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-platform/json-schema/google-cloud-platform-google-cloud-orgpolicy-v2-list-custom-constraints-response-schema.json",
"title": "GoogleCloudOrgpolicyV2ListCustomConstraintsResponse",
"description": "The response returned from the ListCustomConstraints method. It will be empty if no custom or managed constraints are set on the organization resource.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-platform-orgpolicy-organizations-api-openapi.yml#/components/schemas/GoogleCloudOrgpolicyV2ListCustomConstraintsResponse",
"properties": {
"customConstraints": {
"description": "All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.",
"type": "array",
"items": {
"$ref": "#/$defs/GoogleCloudOrgpolicyV2CustomConstraint"
}
},
"nextPageToken": {
"description": "Page token used to retrieve the next page. This is not used, but the server may at any point start supplying a valid token.",
"type": "string"
}
},
"type": "object",
"$defs": {
"GoogleCloudOrgpolicyV2CustomConstraint": {
"type": "object",
"description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.",
"properties": {
"condition": {
"type": "string",
"description": "A Common Expression Language (CEL) condition which is used in the evaluation of the constraint. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters."
},
"methodTypes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"METHOD_TYPE_UNSPECIFIED",
"CREATE",
"UPDATE",
"DELETE",
"REMOVE_GRANT",
"GOVERN_TAGS"
]
},
"description": "All the operations being applied for this constraint."
},
"updateTime": {
"readOnly": true,
"type": "string",
"description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` methods were called.",
"format": "google-datetime"
},
"actionType": {
"description": "Allow or deny type.",
"type": "string",
"enum": [
"ACTION_TYPE_UNSPECIFIED",
"ALLOW",
"DENY"
]
},
"displayName": {
"description": "One line display name for the UI. The max length of the display_name is 200 characters.",
"type": "string"
},
"name": {
"type": "string",
"description": "Immutable. Name of the constraint. This is unique within the organization. The name must be of the form: * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 71 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/custom.` is not counted."
},
"resourceTypes": {
"type": "array",
"description": "Immutable. The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.",
"items": {
"type": "string"
}
},
"description": {
"description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.",
"type": "string"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-platform-google-cloud-orgpolicy-v2-list-custom-constraints-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.