Binary Authorization API (binaryauthorization:v1)

2024-02-24

1 new method

Additions

    Methods
  • binaryauthorization.projects.platforms.gke.policies.evaluate

      Path: v1/{+name}:evaluate

      Flat Path: v1/projects/{projectsId}/platforms/gke/policies/{policiesId}:evaluate

      HTTP Method: POST

      Parameters:

        name

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

          Pattern: ^projects/[^/]+/platforms/gke/policies/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: 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.