ProjectsPlatformsGkePolicies
class ProjectsPlatformsGkePolicies extends Resource (View source)
The "policies" collection of methods.
Typical usage is:
$binaryauthorizationService = new Google\Service\BinaryAuthorization(...);
$policies = $binaryauthorizationService->projects_platforms_gke_policies;
Methods
evaluate(string $name, EvaluateGkePolicyRequest $postBody, array $optParams = [])
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. (policies.evaluate)
Details
EvaluateGkePolicyResponse
evaluate(string $name, EvaluateGkePolicyRequest $postBody, array $optParams = [])
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. (policies.evaluate)