public static final class BinauthzManagementServiceV1Grpc.BinauthzManagementServiceV1FutureStub extends AbstractFutureStub<BinauthzManagementServiceV1Grpc.BinauthzManagementServiceV1FutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service
BinauthzManagementServiceV1.
Google Cloud Management Service for Binary Authorization admission policies
and attestation authorities.
This API implements a REST model with the following objects:
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
BinauthzManagementServiceV1Grpc.BinauthzManagementServiceV1FutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected BinauthzManagementServiceV1Grpc.BinauthzManagementServiceV1FutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createAttestor(Service.CreateAttestorRequest request)
public ListenableFuture<Resources.Attestor> createAttestor(Service.CreateAttestorRequest request)
Creates an attestor, and returns a copy of the new
attestor. Returns NOT_FOUND if the project does not exist,
INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
attestor already exists.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Attestor> |
|
deleteAttestor(Service.DeleteAttestorRequest request)
public ListenableFuture<Empty> deleteAttestor(Service.DeleteAttestorRequest request)
Deletes an attestor. Returns NOT_FOUND if the
attestor does not exist.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getAttestor(Service.GetAttestorRequest request)
public ListenableFuture<Resources.Attestor> getAttestor(Service.GetAttestorRequest request)
Gets an attestor.
Returns NOT_FOUND if the attestor does not exist.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Attestor> |
|
getPolicy(Service.GetPolicyRequest request)
public ListenableFuture<Resources.Policy> getPolicy(Service.GetPolicyRequest request)
A policy specifies the attestors 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 for this project. Returns a default
policy if the project does not have one.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Policy> |
|
listAttestors(Service.ListAttestorsRequest request)
public ListenableFuture<Service.ListAttestorsResponse> listAttestors(Service.ListAttestorsRequest request)
Lists attestors.
Returns INVALID_ARGUMENT if the project does not exist.
updateAttestor(Service.UpdateAttestorRequest request)
public ListenableFuture<Resources.Attestor> updateAttestor(Service.UpdateAttestorRequest request)
Updates an attestor.
Returns NOT_FOUND if the attestor does not exist.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Attestor> |
|
updatePolicy(Service.UpdatePolicyRequest request)
public ListenableFuture<Resources.Policy> updatePolicy(Service.UpdatePolicyRequest request)
Creates or updates a project's policy, and returns a copy of the
new 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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Policy> |
|