binaryauthorization.v1 library Null safety
Binary Authorization API - v1
The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.
For more information, see cloud.google.com/binary-authorization/
Create an instance of BinaryAuthorizationApi to access these resources:
Classes
- AdmissionRule
- An admission rule specifies either that all container images used in a pod creation request must be attested to by one or more attestors, that all pod creations will be allowed, or that all pod creations will be denied.
- AdmissionWhitelistPattern
- An admission allowlist pattern exempts images from checks by admission rules.
- AttestationOccurrence
- Occurrence that represents a single "attestation".
- Attestor
- An attestor that attests to container image artifacts.
- AttestorPublicKey
- An attestor public key that will be used to verify attestations signed by this attestor.
- BinaryAuthorizationApi
- The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.
- Binding
-
Associates
members
, or principals, with arole
. - IamPolicy
- An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
- ListAttestorsResponse
- Response message for BinauthzManagementService.ListAttestors.
- PkixPublicKey
- A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
- Policy
- A policy for container image binary authorization.
- ProjectsAttestorsResource
- ProjectsPolicyResource
- ProjectsResource
- SetIamPolicyRequest
-
Request message for
SetIamPolicy
method. - SystempolicyResource
- UserOwnedGrafeasNote
- An user owned Grafeas note references a Grafeas Attestation.Authority Note created by the user.
- ValidateAttestationOccurrenceRequest
- Request message for ValidationHelperV1.ValidateAttestationOccurrence.
- ValidateAttestationOccurrenceResponse
- Response message for ValidationHelperV1.ValidateAttestationOccurrence.
Typedefs
- Empty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- Expr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
- Jwt = $Jwt
- Signature = $Signature
- Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy).
- TestIamPermissionsRequest = $TestIamPermissionsRequest00
-
Request message for
TestIamPermissions
method. - TestIamPermissionsResponse = $PermissionsResponse
-
Response message for
TestIamPermissions
method.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.