[BindServiceMethod(typeof(BinauthzManagementServiceV1Beta1), "BindService")]public abstract class BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base
Reference documentation and code samples for the Binary Authorization v1beta1 API class BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base.
Base class for server-side implementations of BinauthzManagementServiceV1Beta1
public virtual Task<Attestor> CreateAttestor(CreateAttestorRequest request, ServerCallContext context)
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 virtual Task<Empty> DeleteAttestor(DeleteAttestorRequest request, ServerCallContext context)
Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
[attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
public virtual Task<Attestor> GetAttestor(GetAttestorRequest request, ServerCallContext context)
Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
The response to send back to the client (wrapped by a task).
GetPolicy(GetPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetPolicy(GetPolicyRequest request, ServerCallContext context)
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 virtual Task<Attestor> UpdateAttestor(UpdateAttestorRequest request, ServerCallContext context)
Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
public virtual Task<Policy> UpdatePolicy(UpdatePolicyRequest request, ServerCallContext context)
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base\u003c/code\u003e class, part of the Binary Authorization v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBinauthzManagementServiceV1Beta1Base\u003c/code\u003e class is an abstract base for server-side implementations, providing methods such as \u003ccode\u003eCreateAttestor\u003c/code\u003e, \u003ccode\u003eDeleteAttestor\u003c/code\u003e, \u003ccode\u003eGetAttestor\u003c/code\u003e, \u003ccode\u003eGetPolicy\u003c/code\u003e, \u003ccode\u003eListAttestors\u003c/code\u003e, \u003ccode\u003eUpdateAttestor\u003c/code\u003e, and \u003ccode\u003eUpdatePolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese methods manage \u003ccode\u003eAttestor\u003c/code\u003e and \u003ccode\u003ePolicy\u003c/code\u003e resources within a project, allowing for the creation, deletion, retrieval, listing, and updating of these entities, ensuring secure container image deployment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is 2.0.0-beta08, and this document highlights the base class within the \u003ccode\u003eGoogle.Cloud.BinaryAuthorization.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe methods return a task of a specific type, where the \u003ccode\u003erequest\u003c/code\u003e and \u003ccode\u003econtext\u003c/code\u003e parameters contain relevant information about the client request and the server-side call.\u003c/p\u003e\n"]]],[],null,["# Binary Authorization v1beta1 API - Class BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base (2.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/2.0.0-beta07/Google.Cloud.BinaryAuthorization.V1Beta1.BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/1.0.0-beta05/Google.Cloud.BinaryAuthorization.V1Beta1.BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base) \n\n [BindServiceMethod(typeof(BinauthzManagementServiceV1Beta1), \"BindService\")]\n public abstract class BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base\n\nReference documentation and code samples for the Binary Authorization v1beta1 API class BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base.\n\nBase class for server-side implementations of BinauthzManagementServiceV1Beta1 \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Base \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BinaryAuthorization.V1Beta1](/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.BinaryAuthorization.V1Beta1.dll\n\nMethods\n-------\n\n### CreateAttestor(CreateAttestorRequest, ServerCallContext)\n\n public virtual Task\u003cAttestor\u003e CreateAttestor(CreateAttestorRequest request, ServerCallContext context)\n\nCreates an \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\], and returns a copy of the new\n\\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\]. Returns NOT_FOUND if the project does not exist,\nINVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the\n\\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\] already exists.\n\n### DeleteAttestor(DeleteAttestorRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteAttestor(DeleteAttestorRequest request, ServerCallContext context)\n\nDeletes an \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\]. Returns NOT_FOUND if the\n\\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\] does not exist.\n\n### GetAttestor(GetAttestorRequest, ServerCallContext)\n\n public virtual Task\u003cAttestor\u003e GetAttestor(GetAttestorRequest request, ServerCallContext context)\n\nGets an \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\].\nReturns NOT_FOUND if the \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\] does not exist.\n\n### GetPolicy(GetPolicyRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e GetPolicy(GetPolicyRequest request, ServerCallContext context)\n\nA \\[policy\\]\\[google.cloud.binaryauthorization.v1beta1.Policy\\] specifies the \\[attestors\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\] that must attest to\na container image, before the project is allowed to deploy that\nimage. There is at most one policy per project. All image admission\nrequests are permitted if a project has no policy.\n\nGets the \\[policy\\]\\[google.cloud.binaryauthorization.v1beta1.Policy\\] for this project. Returns a default\n\\[policy\\]\\[google.cloud.binaryauthorization.v1beta1.Policy\\] if the project does not have one.\n\n### ListAttestors(ListAttestorsRequest, ServerCallContext)\n\n public virtual Task\u003cListAttestorsResponse\u003e ListAttestors(ListAttestorsRequest request, ServerCallContext context)\n\nLists \\[attestors\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\].\nReturns INVALID_ARGUMENT if the project does not exist.\n\n### UpdateAttestor(UpdateAttestorRequest, ServerCallContext)\n\n public virtual Task\u003cAttestor\u003e UpdateAttestor(UpdateAttestorRequest request, ServerCallContext context)\n\nUpdates an \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\].\nReturns NOT_FOUND if the \\[attestor\\]\\[google.cloud.binaryauthorization.v1beta1.Attestor\\] does not exist.\n\n### UpdatePolicy(UpdatePolicyRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e UpdatePolicy(UpdatePolicyRequest request, ServerCallContext context)\n\nCreates or updates a project's \\[policy\\]\\[google.cloud.binaryauthorization.v1beta1.Policy\\], and returns a copy of the\nnew \\[policy\\]\\[google.cloud.binaryauthorization.v1beta1.Policy\\]. A policy is always updated as a whole, to avoid race\nconditions with concurrent policy enforcement (or management!)\nrequests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT\nif the request is malformed."]]