@Generated("by gapic-generator-java")
Package com.google.cloud.binaryauthorization.v1beta1
A client to Binary Authorization API
The interfaces provided are listed below, along with usage samples.
======================= BinauthzManagementServiceV1Beta1Client =======================
Service Description: 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]
Sample for BinauthzManagementServiceV1Beta1Client:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client =
BinauthzManagementServiceV1Beta1Client.create()) {
PolicyName name = PolicyName.ofProjectName("[PROJECT]");
Policy response = binauthzManagementServiceV1Beta1Client.getPolicy(name);
}
======================= SystemPolicyV1Beta1Client =======================
Service Description: API for working with the system policy.
Sample for SystemPolicyV1Beta1Client:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SystemPolicyV1Beta1Client systemPolicyV1Beta1Client = SystemPolicyV1Beta1Client.create()) {
PolicyName name = PolicyName.ofLocationName("[LOCATION]");
Policy response = systemPolicyV1Beta1Client.getSystemPolicy(name);
}
-
Class Summary Class Description AdmissionRule An [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images used in a pod creation request must be attested to by one or more [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], that all pod creations will be allowed, or that all pod creations will be denied.AdmissionRule.Builder An [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images used in a pod creation request must be attested to by one or more [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], that all pod creations will be allowed, or that all pod creations will be denied.AdmissionWhitelistPattern An [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].AdmissionWhitelistPattern.Builder An [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].Attestor An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image artifacts.Attestor.Builder An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image artifacts.AttestorName AttestorName.Builder Builder for projects/{project}/attestors/{attestor}.AttestorPublicKey An [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify attestations signed by this attestor.AttestorPublicKey.Builder An [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify attestations signed by this attestor.BinaryAuthorizationResourcesProto BinaryAuthorizationServiceProto BinauthzManagementServiceV1Beta1Client Service Description: Google Cloud Management Service for Binary Authorization admission policies and attestation authorities.BinauthzManagementServiceV1Beta1Client.ListAttestorsFixedSizeCollection BinauthzManagementServiceV1Beta1Client.ListAttestorsPage BinauthzManagementServiceV1Beta1Client.ListAttestorsPagedResponse BinauthzManagementServiceV1Beta1Grpc Google Cloud Management Service for Binary Authorization admission policies and attestation authorities.BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1BlockingStub A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1FutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1ImplBase Base class for the server implementation of the service BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Grpc.BinauthzManagementServiceV1Beta1Stub A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1Beta1.BinauthzManagementServiceV1Beta1Settings Settings class to configure an instance ofBinauthzManagementServiceV1Beta1Client
.BinauthzManagementServiceV1Beta1Settings.Builder Builder for BinauthzManagementServiceV1Beta1Settings.ContinuousValidationEvent Represents an auditing event from Continuous Validation.ContinuousValidationEvent.Builder Represents an auditing event from Continuous Validation.ContinuousValidationEvent.ConfigErrorEvent An event describing a user-actionable configuration issue that prevents CV from auditing.ContinuousValidationEvent.ConfigErrorEvent.Builder An event describing a user-actionable configuration issue that prevents CV from auditing.ContinuousValidationEvent.ContinuousValidationPodEvent An auditing event for one Pod.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder An auditing event for one Pod.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails Container image with auditing details.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder Container image with auditing details.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult Protobuf typegoogle.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult
ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder Protobuf typegoogle.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult
ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope A scope specifier for check sets.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder A scope specifier for check sets.ContinuousValidationLoggingProto CreateAttestorRequest Request message for [BinauthzManagementService.CreateAttestor][].CreateAttestorRequest.Builder Request message for [BinauthzManagementService.CreateAttestor][].DeleteAttestorRequest Request message for [BinauthzManagementService.DeleteAttestor][].DeleteAttestorRequest.Builder Request message for [BinauthzManagementService.DeleteAttestor][].GetAttestorRequest Request message for [BinauthzManagementService.GetAttestor][].GetAttestorRequest.Builder Request message for [BinauthzManagementService.GetAttestor][].GetPolicyRequest Request message for [BinauthzManagementService.GetPolicy][].GetPolicyRequest.Builder Request message for [BinauthzManagementService.GetPolicy][].GetSystemPolicyRequest Request to read the current system policy.GetSystemPolicyRequest.Builder Request to read the current system policy.ListAttestorsRequest Request message for [BinauthzManagementService.ListAttestors][].ListAttestorsRequest.Builder Request message for [BinauthzManagementService.ListAttestors][].ListAttestorsResponse Response message for [BinauthzManagementService.ListAttestors][].ListAttestorsResponse.Builder 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).PkixPublicKey.Builder A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).Policy A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.Policy.Builder A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.PolicyName PolicyName.Builder Builder for projects/{project}/policy.PolicyName.LocationBuilder Builder for locations/{location}/policy.ProjectName ProjectName.Builder Builder for projects/{project}.SystemPolicyV1Beta1Client Service Description: API for working with the system policy.SystemPolicyV1Beta1Grpc API for working with the system policy.SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1Beta1.SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1Beta1.SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1ImplBase Base class for the server implementation of the service SystemPolicyV1Beta1.SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1Beta1.SystemPolicyV1Beta1Settings Settings class to configure an instance ofSystemPolicyV1Beta1Client
.SystemPolicyV1Beta1Settings.Builder Builder for SystemPolicyV1Beta1Settings.UpdateAttestorRequest Request message for [BinauthzManagementService.UpdateAttestor][].UpdateAttestorRequest.Builder Request message for [BinauthzManagementService.UpdateAttestor][].UpdatePolicyRequest Request message for [BinauthzManagementService.UpdatePolicy][].UpdatePolicyRequest.Builder Request message for [BinauthzManagementService.UpdatePolicy][].UserOwnedDrydockNote An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock ATTESTATION_AUTHORITY Note created by the user.UserOwnedDrydockNote.Builder An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock ATTESTATION_AUTHORITY Note created by the user.