v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13124969.8 KB
projects

Evaluates a Kubernetes object versus a GKE platform policy. Returns NOT_FOUND if the policy doesn't exist, INVALID_ARGUMENT if the policy or request is malformed and PERMISSION_DENIED if the client does not have sufficient permissions.

post/v1/{+name}:evaluate

Path parameters

namestring required

Required. The name of the platform policy to evaluate in the format projects/*/platforms/*/policies/*.

Request body

resourceobject

Required. JSON or YAML blob representing a Kubernetes resource.

Response

Successful response