public static final class BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub extends io.grpc.stub.AbstractFutureStub<BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub>
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.v1beta1.Policy] * [Attestor][google.cloud.binaryauthorization.v1beta1.Attestor]
| Modifier and Type | Method and Description |
|---|---|
protected BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Attestor> |
createAttestor(CreateAttestorRequest request)
Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
[attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteAttestor(DeleteAttestorRequest request)
Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
|
com.google.common.util.concurrent.ListenableFuture<Attestor> |
getAttestor(GetAttestorRequest request)
Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
|
com.google.common.util.concurrent.ListenableFuture<Policy> |
getPolicy(GetPolicyRequest request)
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
a container image, before the project is allowed to deploy that
image.
|
com.google.common.util.concurrent.ListenableFuture<ListAttestorsResponse> |
listAttestors(ListAttestorsRequest request)
Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
|
com.google.common.util.concurrent.ListenableFuture<Attestor> |
updateAttestor(UpdateAttestorRequest request)
Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
|
com.google.common.util.concurrent.ListenableFuture<Policy> |
updatePolicy(UpdatePolicyRequest request)
Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
new [policy][google.cloud.binaryauthorization.v1beta1.Policy].
|
protected BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub>public com.google.common.util.concurrent.ListenableFuture<Policy> getPolicy(GetPolicyRequest request)
A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.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.v1beta1.Policy] for this project. Returns a default [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
public com.google.common.util.concurrent.ListenableFuture<Policy> updatePolicy(UpdatePolicyRequest request)
Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the new [policy][google.cloud.binaryauthorization.v1beta1.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.
public com.google.common.util.concurrent.ListenableFuture<Attestor> createAttestor(CreateAttestorRequest request)
Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new [attestor][google.cloud.binaryauthorization.v1beta1.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.v1beta1.Attestor] already exists.
public com.google.common.util.concurrent.ListenableFuture<Attestor> getAttestor(GetAttestorRequest request)
Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
public com.google.common.util.concurrent.ListenableFuture<Attestor> updateAttestor(UpdateAttestorRequest request)
Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
public com.google.common.util.concurrent.ListenableFuture<ListAttestorsResponse> listAttestors(ListAttestorsRequest request)
Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns INVALID_ARGUMENT if the project does not exist.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteAttestor(DeleteAttestorRequest request)
Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
Copyright © 2024 Google LLC. All rights reserved.