Class ProjectsResource.PlatformsResource.GkeResource.PoliciesResource
The "policies" collection of methods.
Inherited Members
Namespace: Google.Apis.BinaryAuthorization.v1
Assembly: Google.Apis.BinaryAuthorization.v1.dll
Syntax
public class ProjectsResource.PlatformsResource.GkeResource.PoliciesResource
Constructors
PoliciesResource(IClientService)
Constructs a new resource.
Declaration
public PoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Evaluate(EvaluateGkePolicyRequest, string)
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.
Declaration
public virtual ProjectsResource.PlatformsResource.GkeResource.PoliciesResource.EvaluateRequest Evaluate(EvaluateGkePolicyRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
EvaluateGkePolicyRequest | body | The body of the request. |
string | name | Required. The name of the platform policy to evaluate in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.PlatformsResource.GkeResource.PoliciesResource.EvaluateRequest |