Interface BinauthzManagementServiceV1Grpc.AsyncService

All Known Implementing Classes:
BinauthzManagementServiceV1Grpc.BinauthzManagementServiceV1ImplBase
Enclosing class:
BinauthzManagementServiceV1Grpc

public static interface BinauthzManagementServiceV1Grpc.AsyncService
 Google Cloud Management Service for Binary Authorization admission policies
 and attestation authorities.
 This API implements a REST model with the following objects:
 * [Policy][google.cloud.binaryauthorization.v1.Policy]
 * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
 
  • Method Details

    • getPolicy

      default void getPolicy(Service.GetPolicyRequest request, io.grpc.stub.StreamObserver<Resources.Policy> responseObserver)
       A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
       a container image, before the project is allowed to deploy that
       image. There is at most one policy per project. All image admission
       requests are permitted if a project has no policy.
       Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
       [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
       
    • updatePolicy

      default void updatePolicy(Service.UpdatePolicyRequest request, io.grpc.stub.StreamObserver<Resources.Policy> responseObserver)
       Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
       new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
       conditions with concurrent policy enforcement (or management!)
       requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
       if the request is malformed.
       
    • createAttestor

      default void createAttestor(Service.CreateAttestorRequest request, io.grpc.stub.StreamObserver<Resources.Attestor> responseObserver)
       Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
       [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
       INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
       [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
       
    • getAttestor

      default void getAttestor(Service.GetAttestorRequest request, io.grpc.stub.StreamObserver<Resources.Attestor> responseObserver)
       Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
       Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
       
    • updateAttestor

      default void updateAttestor(Service.UpdateAttestorRequest request, io.grpc.stub.StreamObserver<Resources.Attestor> responseObserver)
       Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
       Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
       
    • listAttestors

      default void listAttestors(Service.ListAttestorsRequest request, io.grpc.stub.StreamObserver<Service.ListAttestorsResponse> responseObserver)
       Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
       Returns INVALID_ARGUMENT if the project does not exist.
       
    • deleteAttestor

      default void deleteAttestor(Service.DeleteAttestorRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
       [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.